<?php

namespace App\Http\Controllers\Api;

use App\Models\MovVideo;
use Illuminate\Http\Request;

class MovController extends ApiBaseController
{
    public function videoList(Request $request)
    {
        $data = $request->all();
        if ($vr = $this->verifyField($data, [
        ])) return $vr;

        $video = MovVideo::with(['category', 'tags'])->orderBy('created_at', 'desc')
            ->paginate(10);
        return $this->success($video);
    }
}
